home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / sgprop14.zip / SETPROP.TXT < prev   
Text File  |  1994-10-26  |  6KB  |  145 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                 Set Property v1.4 for Novell Netware 3.x.
  9.  
  10.  
  11.               By K.F.Soft, Denmark, Copyright October 1994.
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. Usage of this program is free. The program may not be sold. It can be 
  20. distributed in the original ZIP-file at no charge.
  21. SetProp is distributed as is, without any express or implied warranty.
  22. Portions of SetProp Copyright (C) 1983-1990 Novell Inc. All rights reserved.
  23.  
  24. If you decide to use this program please send me a little note with the 
  25. following information:
  26.   Type of organization.
  27.   Number of servers.
  28.   Number of users.
  29.   Number of workstations.
  30. Thanks in advance!
  31.  
  32. Comments, bugs and suggestions to kf@mmf.ruc.dk
  33.                             Purpose
  34.  
  35. Sets or displays the content of Netware bindery properties.
  36. Should only be used with string properties (names etc.).
  37.  
  38.  
  39.                             Syntax
  40.  
  41. SETPROP options [servername/]objectname propertyname [value]
  42. SETPROP options [servername/]objectname propertyname(ix) [value]
  43. SETPROP options [servername/]objectname:propertyname=value
  44. SETPROP options [servername/]objectname:propertyname(ix)=value
  45. SETPROP options [servername/]objectname !ON [value]
  46. SETPROP options [servername/]objectname:!ON=value
  47.  
  48. Options:
  49. /Q    Quiet mode. Nothing will be displayed.
  50.  
  51. /O:x  Object type. Both object type numbers and abbreviations can 
  52.       be used for the x parameter. See below for the possible values. 
  53.       If no object type is given, user type is assumed.
  54.       By using * any object type will be processed.
  55.  
  56. /S:xy Property security level. Sets the security mask for the property.
  57.       x determines who can see/read the property.
  58.       y determines who can write/change/delete the property.
  59.       The following values are valid for the x parameters:
  60.         A   Anyone connected to the server
  61.         L   Anyone logged in to the server
  62.         O   Supervisor equivalents, object itself, managers and equivalents
  63.         S   Supervisor
  64.         -   Don't change this security level
  65.       /S option is not valid with !ON (see below).
  66.  
  67. /D    Display property security information.
  68.  
  69. Parameters:
  70. servername   if the object is on another server than the current one 
  71.              the server parameter can be used to select the server.
  72.  
  73. objectname   is the name of the object owning the property. If wildcards 
  74.              are used SetProperty will run through all matching objects.
  75.              A - refers to the currently logged in object.
  76.              If the objectname starts with a #, SetProperty will run 
  77.              through all members of the group. 
  78.              If a type is specified only the members matching the 
  79.              specified type will be processed.
  80.              Instead of the object name you can use the object ID in
  81.              hex notation preceding it with \x, ie. \x68000003
  82.  
  83. propertyName is the name of the property to be set/changed/displayed.
  84.              If it doesn't exist it will be created (if a value is 
  85.              given). This requires supervisor equivalence.
  86.              A number ix inside () after the propertyname indicates that 
  87.              the property is a string array. ix is the number of the 
  88.              string referred to. A string array can consist of up to 20 
  89.              strings with a total length of 980 bytes (including zero's).
  90.              !ON as propertyname tells SetProperty to change the objects 
  91.              name to the one indicated by value.
  92.  
  93. value        The new value of the named property. The value string should
  94.              be enclosed by " if it is more than one word.
  95.              If no value is given, the current value will be displayed.
  96.              If value is - the property will be removed from the bindery.
  97.  
  98. The different object types are :
  99.   No Abbreviation  Description
  100.    1 us            User
  101.    2 ug            User group
  102.    3 pq            Print queue
  103.    5 js            Job Server
  104.    6 gw            Gateway
  105.    7 ps            Print server
  106.    8 aq            Archive queue
  107.    9 as            Archive server
  108.   10 jq            Job queue
  109.   11 ad            Administration
  110.      *             All object types
  111.  
  112.                            Examples
  113.  
  114. SETPROP /O:ug EVERYONE IDENTIFICATION "Each and everyone"
  115.           Sets the full name (IDENTIFICATION) for group (OT=2)
  116.           EVERYONE to the string "Each and everyone".
  117.  
  118. SETPROP #EVERYONE MAIL_OPTIONS(1) "-"
  119.           Deletes the Charon/Mercury forward address for all users on
  120.           the current server (the property is not deleted, only the 
  121.           first field in the property).
  122.  
  123. SETPROP - M "MENU1"
  124.           Creates a property M for the current user with the value 
  125.           "MENU1" which indicates the menu definition for that user.
  126.  
  127. SETPROP /S:-S MIKE:MAIL_OPTIONS(1)="mike@candy.south.edu"
  128.           Set the Charon & Mercury forward address for user MIKE to
  129.           mike@candy.south.edu (the first string in MAIL_OPTIONS).
  130.           Prevent MIKE (and all others) from changing the MAIL_OPTIONS 
  131.           but don't change the read access to the property.
  132.  
  133. SETPROP S1/#STAFF* IDENTIFICATION
  134.           Displays the full name for all members of groups starting
  135.           with "STAFF" on server S1.
  136.  
  137. SETPROP S2/JOE !ON JOEP
  138.           Renames the user JOE to JOEP on server S2.
  139.  
  140. SETPROP \x68000003:!ON JUNE
  141.           Set the name of the object with bindery ID 68000003h to JUNE.
  142.  
  143. SETPROP /o:* A*:IDENTIFICATION
  144.           Display full name for all users beginning with A of all types.
  145.